<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>侧轴学习-单行</title>
    <style>
        .box{
            width: 600px;
            height: 500px;
            border: #888888 1px solid;
            display: flex;
            /*占满整个侧轴*/
            /*align-content: stretch;*/

            /*侧轴起点对齐*/
            /*align-content: flex-start;*/

            /*侧轴终点对齐*/
            /*align-content: flex-end;*/

            /*侧轴居中对齐*/
            /*align-content: center;*/

            /*仲缩项目间的距离相等，比距边缘大一倍*/
            /*align-content: space-around;*/

            /*与侧轴两端对齐，中间平均分布。*/
            /*align-content: space-between;*/

            /*在侧轴上完全平分。*/
            align-content: space-evenly;
            flex-basis:100px ;
        }
        .box1{
            width: 90px;
            height: 150px;
            border: black 1px solid;
        }
        .box2{
            width: 100px;
            height: 200px;
            border: black 1px solid;
        }
        .box3{
            width: 110px;
            height: 100px;
            border: black 1px solid;
        }
    </style>
</head>
<body>
<!--
1.flex-basis
            概念:flex-basis 设置的是主轴方向的基准长度，会让宽度或高度失效。
            备注:主轴横向:宽度失效;主轴纵向:高度失效
            作用:浏览器根据这个属性设置的值，计算主轴上是否有多余空问，默认值 auto，即:仲缩项目的宽或高。
-->
        <div class="box">
            <div class="box1">1</div> <div class="box2">2</div> <div class="box3">3</div>
            <div class="box1">4</div> <div class="box2">5</div> <div class="box3">6</div>
        </div>
</body>
</html>